#!/bin/sh

echo -n > "$1_$2.patch"
for i in `find "$1" -name "*.$2"`; do diff -u "$i" "${i%%.$2}" >> $1_$2.patch; done
